copy method

GraphObject copy()

Creates a deep copy of this GraphObject and returns it. This method is the same as a clone for simple GraphObjects such as Shape, TextBlock, and Picture. For Panel this method copies the visual tree of GraphObjects that it contains. @expose @return {GraphObject}

Implementation

_i3.GraphObject copy() => _i4.callMethod(
      this,
      'copy',
      [],
    );