Eternal Sunshine of the Spotless Mind
Eternal Sunshine of the Spotless Mind is a 2004 science fiction drama/comedy starring Kate Winslet and Jim Carey.
A couple who both undergo memory wipes end up meeting again at a later time. Upon discovering they had previously been in a relationship together, they decide to give it another go.
Various other memory wipe storylines also play out during the movie.