deep object cloning with pure javascript (@jquery extend based)