docs: @SuppressWarnings("unchecked")
  	public static Map createApproximateMap(Object map, int initialCapacity) {
  		if (map instanceof SortedMap) {
  			return new TreeMap(((SortedMap) map).comparator());
  		}
  		else {
  			return new LinkedHashMap(initialCapacity);
  		}
  	}