Improve master page cloning

Refactors the master page cloning in odfCanvas a little, to clean things up