I saw that trick in a couple of movies, but don't rememberch which ones.
In one of them they made a whole car of gold, maybe it was Goldfinger?
In the other one, they fled the country in a boat and replaced some parts of the boat with gold. This one is better, because it's more difficult to scan the boat.