While attaching one thing to another is a fairly basic process - epoxy is still a thing, after all - what do you use if you want to occasionally remove that thing from the other thing? The answer? Magnets. And Sugru.
source