copy method

Returns a copy of the attachment. Copied attachments need to be disposed manually when no longer in use via the dispose method.

Implementation

Attachment copy() {
  return _toSubclass(_bindings.spine_attachment_copy(_attachment.cast()));
}