Massive capital inflows caused real-estate and stock-market bubbles in the US and parts of Europe. Today, some policymakers in Latin America, worried that the same thing could happen to their countries, are casting about for policy tools to prevent it.