Update object methods and debug clone function