The Point.clone()
method returns a new Point
with the same coordinates and
attributes as the original point.
Signature
Javascript
Point point.clone()
TIP|
This method is chainable as it returns the Point
object
Example
Notes
The Point.copy()
method will only copy the
point’s coordinates, whereas this Point.clone()
method will also copy its
attributes.