introduce example of smartClearSnapshot usage