cloneSelf

cloneSelf(transient: Boolean): SelfType;

The cloneSelf method of the OleControl class creates a new instance of the same type as the receiver and copies the attributes of the receiver (including the contents of primitive arrays).