clone method

Pair<T1, T2> clone()

Creates a shallow clone of the Pair.

Implementation

Pair<T1, T2> clone() => Pair<T1, T2>(first, second);