Constructor for a new ArrayList. The constructor initializes the
ArrayList with the arguments given as constructor parameters. The method
can also be called with an ECMA array as argument.
If called with a single ECMA array as argument the individual elements of
that array are used to initialize the ArrayList. To create an ArrayList
with a single array as element, create an empty ArrayList and then call
the method add1() on it.
the set of objects to insert into the list.