code: func copyKindDefaults(dst, src *schema.GroupVersionKind) {
  	if src == nil {
  		return
  	}
  	// apply kind and version defaulting from provided default
  	if len(dst.Kind) == 0 {
  		dst.Kind = src.Kind
  	}
  	if len(dst.Version) == 0 && len(src.Version) > 0 {
  		dst.Group = src.Group
  		dst.Version = src.Version
  	}
  }
docs: // copyKindDefaults defaults dst to the value in src if dst does not have a value set.