Banks and governments, and others looking to create something out of nothing, were restricted by gold.
Not exactly. You can still create debt money with Gold. Just lend 1$ to your friend and him lend it again and once more, congrats, you indebted 3$ of goods with 1$. No printing needed.