Museum putty. My favorite brand is UHU; it is white and it comes off when you want it to. It is reusable. I get mine at an art supply store.
Please know that my sewing room floor is oak with a urethane finish.
It works. And for lots of other stuff you'd rather not have wandering around. I also use it on vertical surfaces.
Enjoy the day.
Pat