Phil Mc Graw who said, "The best predictor of future behavior is past behavior." In other words, if you want to know how someone will react to certain situations take a look at how they have reacted to similar situations in the past.
The best way to know if you will marry a cheater is to date someone who has a history of cheating.
In this context unless the person learns nothing from the experience, and chooses another partner with similar issues and allows a similar course to unfold in the next relationship, it's far less likely that this person will cheat again. One where your partner feels safe to BE honest and unjudged.
One note though - falling madly in love is not actually the best way to ensure that a person who has cheated before will not cheat again.
We all have unique personalities and well-developed ways of dealing with relationship problems.