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