Copy
in that Copy
is implicit and inexpensive, while
Clone
is always explicit and may or may not be expensive.
Since Clone
is more general than Copy
, you can automatically make anything
Copy
be Clone
as well.
#[derive]
if all fields are Clone
. The derive
d
implementation of Clone
calls clone
on each field.