How to group objects and save in another layout?