Since the Sparta has a rear motor, it's probably a Shimano roller brake. These often have a cooling disc with radial vanes and that can be somewhat loose and clunk at times.
I haven't come across anything else on a roller brake that can cause this problem, though if it's run dry that could make its operation noisy. If it is a roller brake it can be lubricated by a special oil that Shimano make, there's a small hole in the side plate of the brake for the oil to be squirted in.
This
Shimano technical document shows a roller brake with the optional cooling disc, so you might be able to identify it from that.
.