Loki drops duplicate log entries

When Loki receives two identical log lines with same timestamp it seems to keep just the first one.
To replicate run
curl -XPOST http://localhost:3100/loki/api/v1/push -H 'Content-Type: application/json' -d '{ "streams": [{ "stream": { "service_name": "test" }, "values": [["1740044173262043400", "TESTING"]] }] }' twice, observe that in Grafana only one log line exists.
Also querying Loki directly with curl -G -s 'http://localhost:3100/loki/api/v1/query_range' --data-urlencode 'query={service_name="test"}' --data-urlencode 'start=1740044173262043000' --data-urlencode 'end=1740044174262043000' | jq . returns only single result.

Is it possible to override this behaviour? I tried setting limits_config.increment_duplicate_timestamp: true, but it seemed to have no effect.