docs: public static <T> ArrayList<T> distinct(Collection<T> collection) {
  		if (isEmpty(collection)) {
  			return new ArrayList<>();
  		} else if (collection instanceof Set) {
  			return new ArrayList<>(collection);
  		} else {
  			return new ArrayList<>(new LinkedHashSet<>(collection));
  		}
  	}