To prevent it you’d have to keep it in your garage. If you get some Bow to Stern, clean the boat well, put on a light coat, let it dry then wipe it off, put on a second coat, repeat, then put on a third coat you will be able to easily clean it when it gets dirty.
I have it all over my boat and motor. All I do for cleaning is run a wet rag over it and dry it off.