Closed giarc3 closed 4 years ago
I think this makes sense. If someone needs to duplicate a plaintext making them go to bytes and back seems dumb. Thanks! Merge on green.
Doesn't seem like making it easier to do something you most likely don't really want to do is the best idea, but if we already have it for private keys, consistency is reasonable.
Need clone on plaintext for making a MockCryptoOps in ironoxide. We already have clone on PrivateKey, so it makes sense to be consistent here anyway.