fixes issue where obsolete cloneModel function was being called (now clone())