Merge entities

Merges two or more entities into a single entity. Aliases from the source entities are transferred to the destination entity.