Expand description

A cheap version of Clone.

Traits

Like Clone, but should only be available if Clone is constant time and zero allocation (e.g. a few Arc bumps). The implementation of dupe should always call clone.

Derive Macros

Derive the Dupe trait.
Derive the Dupe trait, but without requiring all type arguments to implement Dupe.