I was thinking about this a few weeks ago, i got rare earth magnets on ebay i sprayed them with plasti dip spray let them dry for 2 days and put them in my tank at work so far 3 weeks in tank no parameters have changed...
I may also try coating them with a marine grade epoxy next..