Issue #21388:make copy of bomhead optional