Path.clone()

The Path.clone() method returns a new Path object that is a deep copy of this path.

Signature

Javascript
Path path.clone()

Example