clear method

void clear()

Implementation

void clear() {
  _registers.clear();
  _lastYank = '';
}