All tarred with the same brush. All alike to blame, all sheep of the same flock. The allusion is to the custom of distinguishing the sheep of any given flock by a common mark with a brush dipped in tar.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Tarred from Infoplease: