Cornflakes (invented by John Harvey Kellogg) and Graham’s Crackers (invented by Sylvester Graham) were both specifically designed to discourage masturbation.
[Found in Christopher Ryan and Cacilda Jethá, Sex at Dawn. See also Wikipedia on Cornflakes]