clearHistory

Clear state history (useful for testing or memory management).