There's some stuff in a spray can made by 3M, called 3M "Hi-Tack 76". The hardware stores and Home Depot places should carry it. Just a note there are other 'grades' of stickyness in this product (they make a "General Purpose 77") and you don't want that. The Hi-Tack 76 is pretty much like contact cement and have used it for sticking down other things in the boat like rubber floor pad in front of driver's seat, foam inside engine compartment, etc. It's good stuff.
2005 ProStar 197 w/1:1 MCX; Acme #843; 2007 MC ZeroFlex Tower