I don't know how well nickel holds up in saltwater, but I wouldn't trust putting bare metal into saltwater for long-term. Plus, I know that nickel is often used in a copper-nickel alloy, and I would be afraid of copper contamination if this were the case of these magnets.
The magnets used for cleaning are incapsulated, typically in epoxy.