Duplicate events

Does Prometheus store duplicate events?
example:
a query that runs every 15s inside a collector that retrieves the same results for an hour.
Is Prometheus going to store all retrieved duplicates? if yes, how can one avoid storing duplicates?