better implementation for 'cloneCursor'