code: function cloneAliases(trail) {
    var copy = {};
  
    Object.keys(trail.__aliases__).forEach(function (extension) {
      copy[extension] = [].concat(trail.__aliases__[extension]);
    });
  
    return copy;
  }
docs: ////////////////////////////////////////////////////////////////////////////// clone extension aliases