use 'in' replace 'hasOwnProperty' as 'clone' is inherited from AST_Node