I'm trying to create diagrams through the Enterprise Architect Java API. Since we got a template for our diagrams, the simplest approach would be to copy the element in which the diagram is placed and paste it into the desired place.
I found the method clone() form the package class but I did not find any similar method for the element class or the diagram class.