code: function removeDuplicates(collection) {
    return collection.filter(function(e, i, arr) {
      return isValue(e) && arr.lastIndexOf(e) === i;
    });
  }
docs: /*
  Remove duplicates of an array
  @param collection {array}
  @returns {array} - collection without duplicates