Implement recursive deep object clone function