public void init(E... elems) {
		Object[] array = elems.clone();
		init(array, array.length);
	}
Initialize the list to contain the specified elements only.
The list will have an initial capacity to hold these elements.

@param elems array with elements
jphp-runtime/src/php/runtime/memory/support/GapList.java