code: public <T extends ICalProperty> List<T> removeProperties(Class<T> clazz) {
  		List<ICalProperty> removed = properties.removeAll(clazz);
  		return castList(removed, clazz);
  	}
docs: Removes all properties of a given class from this component.
  @param clazz the class of the properties to remove (e.g.
  "DateStart.class")
  @param <T> the property class
  @return the removed properties (this list is immutable)