Which of the following best describes a unit matrix?
A) A matrix with all elements equal to one
B) A square matrix with ones on the diagonal and zeros elsewhere
C) A matrix with zeroes on the diagonal and ones elsewhere
D) A rectangular matrix where each row and column contains unique elements