Glossary: Coding Interviews in Rust
Clone
Also written: clone(), path.clone(), copy
A method that makes a new `Vec` with the same items. Backtracking saves `path.clone()` because the original `path` keeps changing, and Rust won't let you save the borrow by mistake.