:: Documentation >>

clone Method

Creates an object clone.

Syntax

obj.clone();

Returns

A new object.

Remarks

The clone function creates a fast copy of the object. Instead of physically copying each property and method of the source object - it creates a clone as a ‘subclass’ of the source object, i.e. properties and methods are inherited from the source object into the clone.

Note that the clone continues to be dependent on the source object. Changes in the source object property or method will affect all the clones unless this property is already overwritten in the clone object itself.

See Also

Active.System.Object

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5