Do not crash when cloning components without attributes.
Merge pull request #206 from Amadeus-osa/master

Do not crash when cloning components without attributes.
Merge remote-tracking branch 'upstream/master'