Clones the receiver and assigns the result to *clone.
[Visual Basic 6.0] Function Clone As IClone
[Visual Basic .NET] Public Function Clone ( ) As IClone
[C#] public IClone Clone ( );
[C++] public: IClone Clone ( );
The Clone method is similar to the Assign method except that the receiver object does not need to be cocreated.
Dim pCloned as IClone
Dim pSource as IClone
Set pSource = New MarkerElement
Set pCloned = pSource.Clone