I'm creating a tool in ArcGIS Pro 3.0 that will duplicate selected features to a point that is clicked on the map. The process works fine, but does not get added to the undo stack.
For example, I create 3 line features, selected all 3 features, Use my tool (click on map, those 3 features are duplicated with their combined center being on the point that I clicked).
If I were to click 'undo', this undoes my duplicate AND the last line I had created (leaving me as though I'd only created 2 lines).