Applies configuration of this element, including inherited configuration, to the argument. This method shall be called after
create() and shall create contained elements. Cross-reference resolution shall be done in
resolve() which is called after
apply() and as such contained elements are already created.
Creates a new package element of the same type as this element with
prototype reference to this package element. For top-level packages this method also calls
apply() and then