Round base with 4mm x 2mm magnets.

Miniature base for magnets.
Edit scad file for other sizes.
Have yet to get some magnets to test fit, 4x2mm magnets are cheaper than 10mmx1mm.