Not precisely, as CopySkin
is not the counterpart of GetClone
. GetClone
previously performed a shallow copy:
///<summary> Gets a shallow copy of the skin. The cloned skin's attachments are shared with the original skin.</summary>
while CopySkin
performs a deep copy:
///<summary>Adds all attachments from the specified skin to this skin. Attachments are deep copied.</summary>
The difference is that the attachments are deep-copied in the latter, while only the attachment references are copied in the first method.
The precise counterpart for GetClone()
would be AddSkin()
instead of CopySkin()
.