catch errors thrown by deepcopy in Cursor.clone