code: function cloneMetadata(source) {
  			var backupMetadata = initMetadata(source.__ui5version);
  			for (var index in source.__byIndex__) {
  				backupMetadata.__byIndex__[index] = source.__byIndex__[index];
  			}
  			for (var key in source.__byKey__) {
  				backupMetadata.__byKey__[key] = source.__byKey__[key];
  			}
  			return backupMetadata;
  		}
docs: Clones a given metadata instance
  @param source the instance to clone
  @returns {*} cloned metadata