In version 1.10 you can go lower than 0 up to infinite items which can have some weird results. It can crash the world if you have a stack above 65 in your cursor inventory. But going to 0 and clearing the items can just crash the game. Also /giving the items doesn't work at 0 saying "There is no such item with name", and trying to get it from the creative inventory doesn't work.
Item Code
{
"format_version": "1.10.0",
"minecraft:item": {
"description": {
"menu_category": {
"category": "items"
},
"identifier": "traye:item"
},
"components": {
"minecraft:max_stack_size": 0
}
}
}```