Add test of a deprecated clone method
Merge commit 'a80e4d86f811bd9144f940c76343520a12d27e0b' into HEAD