Hi,
The way you are doing it at the moment would work well where there are different objects required (depending on the logic).
Where you want copies of existing objects, you could wrap these in a subform and then use the addInstance command to create a repeat of the subform (and its contents). For this to work, you would need a flowed subform/page layout and the form would need to be saved as dynamic.
Check out the help file.
Niall