Implement Cursor.splice