Fixing a bug where calling #compressed or #uncompressed on a PublicKey errantly mutated the object rather than returning a deep clone.