Trade liberalization has also weakened, albeit more gradually. Worldwide negotiations, with the lower tariffs and trade concessions applying to almost everyone, have flagged. The latest round, begun in Doha, Qatar, in 2001, remains stalemated.
Meanwhile, countries have resorted to regional deals (such as the North American Free Trade Agreement among the United States, Canada and Mexico), and trade is distorted by a variety of policies, from rigged exchange rates (China) to subsidized export loans (many nations).
Globalization reflects three basic forces: lower transportation costs (containerization, air freight); cheaper communications (phone service, the Internet); and favorable government policies.
The first two are permanent; the third isn't. What Ip calls "gated" globalization might also be described as "a la carte." Countries want to pick and choose - to take what helps and reject the rest.
This is understandable, but is it viable? Can globalization coexist with rising nationalism? Can it overcome the rivalry between the United States and China?
With slow economic growth - caused in part by faltering globalization - mutual suspicions intensify. On both sides, there's ample ground for mistrust.
Many American companies see themselves as victims of unfair competition in China and in export markets.
"China has long used compulsory joint ventures, technology transfer and access to cheap land and loans from state-owned banks to boost companies in strategic sectors," writes Ip. And China isn't alone in giving its companies preferential treatment.
On the other hand, China and many nations view the United States as destabilizing the global economy.
First came the 2008-09 financial crisis. Now there's the threat of a default. America is supposed to fortify confidence; instead, it does the opposite.
Globalization has always had its dissenters, most understandably among workers whose jobs were lost or wages depressed by international competition. But their grievances were muffled by solid overall economic growth.
Now the opposite may happen: Slow growth may amplify complaints against globalization.
The danger is that governments around the world, trying to shield themselves against globalization's vices, will cripple its virtues.
Samuelson writes for The Washington Post Writers Group.