Here are the procedures for clearing codes on the smart with a scangauge II:
Engine off
Ignition on
shifter in Neutral position
press red circle on scangaugeII
then scan for codes on the right it will ask clear codes press yes and you are done.
Hope this will some of you in the future.
Thanks to smart142 from clubsmartcar forum for the procedures.