Fixes deep clone of macro object