Holding stocks can definitely hedge against a devaluation of currency. Even domestic stocks or others prices in the currency you're seeking to get out of can work, but are significantly worse at doing so than one priced in a "safer" currency. There are investment firms that specialize in investing in the stock of foreign companies.