Clone


Function Clone within
Type creates a replica of the referenced object.
By default, the produced object contains the same data as the original object, although one or more of its values may be optionally replaced by new values by supplying the corresponding key/value pairs as additional input.
Simple data elements (numbers and text) of the original object are duplicated, in the sense that modifying these data within the original object has no effect on the produced object.
Instead, elements that are themselves objects (sub-objects of the original object) are not duplicated so that both the produced and original objects will share the same sub-objects.