The Snippet.clone() method returns a new Snippets object that is a deep copy of this one.
Snippet.clone()
Snippet snippet.clone()