SerializedProperty.DuplicateCommand Manual     Reference     Scripting  
Scripting > Editor Classes > SerializedProperty
SerializedProperty.DuplicateCommand

function DuplicateCommand () : boolean

Description

Duplicates the serialized property.

The serialized property can't be used anymore after calling this function. A new iterator must be created in that case.