Made the layout cloner work for EE 2.8

This fixes the layout cloner, I haven't checked the other pages.