cloneSelfAs(asClass: Class; bTransient: Boolean): Object;
The cloneSelfAs method of the Object class creates a new instance of the class specified in the asClass parameter and copies any attributes of the receiver (including the contents of primitive arrays) that are common to both the receiver and target class definitions; that is, those attributes defined in a "common ancestor" class. This method does not invoke constructors.
References and
See also the Object class copySelf and copySelfAs methods, which invoke constructors, and the cloneSelf method.