Clone the pin in an api safe way.
The following conditions will be met with the returned outer pin:
the pin will not be connected to any wires the pin will be orphaned from any instance the pin will not be connected to any inner pins
the pin will not be connected to any wires
the pin will be orphaned from any instance
the pin will not be connected to any inner pins