I can't choose 1.19.2, but I don't think you fixed it in 1.19.3
For a dupe, you just need to die and immediately turn off the computer, in which case the resources of the deceased will lie in place, but absolutely the same resources will be with you. (Important clarification, the player loses achievements).
To lose resources, you need to put some kind of block and turn off the computer again, or just get an error, after entering the game there will be a chance that the item will be missing in the inventory and will not be installed.
A possible solution is to create 2 autosaves at once, and delete the old one only when the new autosave is fully completed. In case of increased consumption of RAM, you can load it on an SSD or other drive. Please solve this problem.
If you see the possibility of using it for other purposes, then people already use it for other purposes by pressing alt + f4, and you can add some kind of error in the autosave code so that only the game can fix it under certain conditions.
This is an exploit because I duplicated 5 picks per silk touch this way, but I also lost the shulker I installed.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MC-63, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.