code: func (c *CertAuthorityV2) Clone() CertAuthority {
  	out := *c
  	out.Spec.CheckingKeys = utils.CopyByteSlices(c.Spec.CheckingKeys)
  	out.Spec.SigningKeys = utils.CopyByteSlices(c.Spec.SigningKeys)
  	for i, kp := range c.Spec.TLSKeyPairs {
  		out.Spec.TLSKeyPairs[i] = TLSKeyPair{
  			Key:  utils.CopyByteSlice(kp.Key),
  			Cert: utils.CopyByteSlice(kp.Cert),
  		}
  	}
  	out.Spec.Roles = utils.CopyStrings(c.Spec.Roles)
  	return &out
  }
docs: // Clone returns a copy of the cert authority object.