Pretty easy to implement in any application just let the app wait for 1 minute before actually sending anything and show the user an undo button.
Of course if you notice something later that won't help you. I copied this concept from a blog but I don't remember which one.