dispose method

dynamic dispose()

Implementation

dispose() {
  this.properties = new WeakMap();
}