code: func removeDuplicateAccessModes(modes []PersistentVolumeAccessMode) []PersistentVolumeAccessMode {
  	accessModes := []PersistentVolumeAccessMode{}
  	for _, m := range modes {
  		if !containsAccessMode(accessModes, m) {
  			accessModes = append(accessModes, m)
  		}
  	}
  	return accessModes
  }
docs: // removeDuplicateAccessModes returns an array of access modes without any duplicates