This is how I paint small objects. Blu tack in the top of golf tees. In this case some White tack (?) and tees both from the Dollar Shop. I stick them in any old piece of foam packing I can lay my hands on. The packing lasts donkey's years so it is just a case of grabbing a couple of likely pieces when the opportunity arises and stop 'someone' from throwing it away (you know who you are!).
Can use it any time you need a 'third hand' - gluing, assembling, whatever.