docs: function globalReset (self) {
      // reset data for all instances
      _.each(global.__immutable_global__, instance => instance.reset())
      // reset internal data
      if (self) {
          global.__immutable_global__ = {}
      }
  }