ParentFull thread_hl_·JS has built-in syntax to do just that. It's in fact much less painful than making a deep copy.View on HN