Mr. Clean “Magic Erasers”, and Scotch-Brite “ Easy Erasing Pads” use melamine foam [formaldehyde-melamine-sodium bisulfite copolymer], which cleans stains effectively, with just water.
They work like super-fine sandpaper, because of their hard, open-cell microstructure, of melamine foam, allows it to
lift and trap dirt, within its cavities.
Proctor & Gamble [Mr. Clean]
do not recommend using ‘Magic Eraser’ on surfaces with a high gloss,
stainless steel appliances, non-stick coating,
or on the body of a vehicle [boat], also advising that they shouldn't be paired with any chemicals, either.
Azko-Nobel advises that
no abrasives be used on their “Awlgrip” paints.