Have you ever stayed friends with an ex?

Say the relationship was a short one? and you both mutually agreed to break up?