code: function clean(type, options) {
    options = assign({}, defaults, options);
    if (type === 'dblclick') {
      options.detail = 2;
    }
    if (isString(options.key)) {
      options.key = keycode(options.key);
    }
    return options;
  }
docs: Back an `options` object by defaults, and convert some convenience features.
  
  @param {String} type
  @param {Object} options
  @return {Object} [description]