Support cursor.clone (#54)