This is one major advantage of the EU. Not everybody needs to prepare for every eventuality, since their neighbors have their back. Articles like this are helpful now, because the Swiss (well at least some of them), seem to have forgotten what benefits their close cooperation with the EU brings.
Had it been Canada and the US, I'm sure they would have done the same for each other and they're not part of any union.
I don't think we can make generalizations like this because while EU is good for some things, it has also been devastating for other things like the disparity in economies in Germany vs Spain, Italy, Greece.