introduced 'clone' to lua. code cleanup/refactoring related to 'new'