code: function unique(array) {
      "use strict";
      var o = {},
          r = [];
      for (var i = 0, len = array.length; i !== len; i++) {
          var d = array[i];
          if (typeof o[d] === "undefined") {
              o[d] = 1;
              r[r.length] = d;
          }
      }
      return r;
  }
docs: Returns unique values from an array.
  
  Note: ugly code is ugly, but efficient: http://jsperf.com/array-unique2/8
  
  @param  Array  array
  @return Array