Create identical object
object_clone = clone(original_object)
object_clone = clone(original_object) creates a copy, object_clone, of the input object, original_object, with identical property values.
object_clone
original_object
collapse all
Object to be cloned.
Object clone, returned as an object of the same class as original_object.