1. Extracting the current state of an object

  2. Clearing the state of an object

  3. Both 1) and 2)