copy method
Copies the private key.
Implementation
@override
EcKeyPairData copy() {
if (hasBeenDestroyed) {
throw StateError('Private key has been destroyed');
}
return EcKeyPairData(
d: d,
x: x,
y: y,
type: type,
debugLabel: debugLabel,
);
}