ArrayList.js
function (isSorted, iterator) {
    var list = new ArrayList;
    return list.add(_.uniq(this, isSorted, iterator));
  }
function (isSorted, iterator) {
    var list = new ArrayList;
    return list.add(_.uniq(this, isSorted, iterator));
  }
Returns a list with the duplicated values removed

@param {boolean} isSorted
@param iterator
@returns {ArrayList}