Create duplicate System object
objClone = clone(obj)
example
objClone = clone(obj) creates a copy of the System object™ obj that has the same property values and states as obj. If the object you clone is in use and you cannot change nontunable properties, the new object is also considered "in use".
objClone
obj
collapse all
Create a Counter object and set a property.
Counter
obj = Counter; obj.UseIncrement = false
obj = Counter with properties: UseIncrement: 0 UseWrapValue: 1 StartValue: 1 Increment: 1 WrapValue: 10
Clone the object.
obj2 = clone(obj)
obj2 = Counter with properties: UseIncrement: 0 UseWrapValue: 1 StartValue: 1 Increment: 1 WrapValue: 10
System object that you want to clone.
Copy of the System object that has the same properties and state as the original object.
isLocked