Add a `reset` method

This is mostly useful for tests
Merge pull request #17 from ForbesLindesay/feature/reset

Add a `reset` method