Fix implementation of clone() operation. Update metamodels.

UML update coming soon.

Change-Id: I49e37052e9090aa9056c85e89bab1386c0f043fd
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>