Option to clear stats between flushes, defaulting to no

Fixes #4.