Prefer `.cloned()` over `.map(|foo| foo.clone())`
7286a3d
There are other combinations of map and clone in the code, but this commit only addresses the straightforward ones. Fixes 367.