clone method

Curve clone()

Creates a clone of this instance.

Implementation

Curve clone() {
  return Curve().copy(this);
}