Similar Items: Scaling Data-Constrained Language Models