Update clone mechanism.
Test if a clone method exists and use it
update libs