Cloning from &T to T

:+1: to @vitalyd's point. While technically clone is &T -> T, I tend to think of it as T -> (T,T) ("I want another one of these things I already have"), and prefer ToOwned for &T -> T ("Someone lent me something and I want my own copy to mess with").

3 Likes