Add frame geometry copying.

Added to init.lua alongside other functionality which should be
refactored to a lower layer.
This has been a good location for this stuff while deciding its
usefulness.
No need to refactor until move to mjolnir.