Easy to print clip that uses custom lengths of filament with a friction lock.
Probably also able to pull one strand of filament through all 4 holes for a stronger fit.
NOTE: you might have to change scaling based on printer tolerances.
Can't test it right now since my printer is broken.