Does anyone have any experience coating magnets with resin, UV or 2 part epoxy, as a protective layer?

Any idea how it could be done?