Similar Items: A Recipe for State-and-Effect Triangles