Similar Items: Modeling and Verification of Infinite Systems with Resources