code: function(elements) {
          var ret = xui();
          ret.cache = slice(this.length ? this : []);
          ret.length = 0;
          [].push.apply(ret, elements);
          return ret;
      }
docs: set
  ---
  
  Sets the objects in the xui collection.
  
  ### syntax ###
  
  x$( window ).set( array );