I used /summon armor_stand ~ ~ ~2 {Invisible:0b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"flint",Count:1b},{}],DisabledSlots:2039582} for the "remove" version and /summon armor_stand ~ ~ ~2 {Invisible:0b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"flint",Count:1b},{}],DisabledSlots:2039327} for the "replace" version
I used /summon armor_stand ~ ~ ~2 {Invisible:0b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"flint",Count:1b},{}],DisabledSlots:2039582} for the "remove" version and /summon armor_stand ~ ~ ~2 {Invisible:0b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"flint",Count:1b},{}],DisabledSlots:2039327} for the "replace" version