Constructs a new array list based on provided array.
If not provided, the function parameter is requested to the Functions function factory methods.
items |
initial items to be put into array |
equal_func |
an optional element equality testing function |