We would stay together. We saw a movie (forgot the title) but it was about a girl that only had a 24 hr memory. And her husband in the end had to video tape wedding/child, etc for her to watch each morning so she would know she was married to him and had a child together.
Its called "dedication" to each other. Remember the vows? Better or worse. only a few exceptions to end the marriage - abuse or cheating. Most other things can and should be worked out.