if ( modificationList != null )
{
for ( Modification modif : modificationList )
{
Modification modifClone = new DefaultModification( modif.getOperation(),
modif.getAttribute().clone() );
clone.modificationList.add( modifClone );
}
}
if ( modifications != null )
{
for ( String key : modifications.keySet() )
{
Modification modif = modifications.get( key );
Modification modifClone = new DefaultModification( modif.getOperation(),
modif.getAttribute().clone() );
clone.modifications.put( key, modifClone );
}
}