Similar Items: A Data-Augmented Contrastive Learning Approach to Nonparametric Density Estimation