code: func Mask(resources corev1.ResourceList, names []corev1.ResourceName) corev1.ResourceList {
  	nameSet := ToSet(names)
  	result := corev1.ResourceList{}
  	for key, value := range resources {
  		if nameSet.Has(string(key)) {
  			result[key] = *value.Copy()
  		}
  	}
  	return result
  }
docs: // Mask returns a new resource list that only has the values with the specified names