diff options
Diffstat (limited to 'identity/key.go')
-rw-r--r-- | identity/key.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/identity/key.go b/identity/key.go index 90edfb60..cc948394 100644 --- a/identity/key.go +++ b/identity/key.go @@ -11,3 +11,8 @@ func (k *Key) Validate() error { return nil } + +func (k *Key) Clone() *Key { + clone := *k + return &clone +} |