introduce example of smartClearSnapshot usage (note that the code is never used)