Unclip one foot only, either before or as you brake. Stay on the saddle and just lean to the unclipped side and put you foot on the ground.
Practice. Lean against a wall, clip in and out with you ground foot several times and then practice unclipping and leaning to that side.