I think Chrome has a similar setting, but it is disabled by default. It might be called “block third party cookies”. It might be enabled by default in incognito mode.
I found the setting and have set it to "Block in incognito mode",
Thanks for the help!