adding better deep clone support

git-svn-id: svn+ssh://svn.code.sf.net/p/jdee/code/trunk@300 381a1f10-3442-0410-997e-ef331cd04102