Native C++ suppress duplicate events reported to sentry

Is there anyway in native C++ to suppress or prevent the duplicate events reported to sentry? In Raven, there is one provision allowDuplicates. Is there any option to do the same in native C++?