not just for pipe clamps
https://www.todayshomeowner.com/video/pipe-clamp-rack/
he puts end caps on the pipe to protect the threads from something
but to me it is somehwat of a fail
over engineered and it is not made of wood
a few scraps and the same solution could be made