code: function(t) {
          return function() {
              var obj = Object.create(t.prototype);
              t.apply(obj, Array.prototype.slice.call(arguments, 0));
              return obj;
          };
      }
docs: Create a public API