But what is $H(AB)$ if A and B are not independent, for example, if they are identical?
dmh has posted the calculation which demonstrates that two identical distributions have the same entropy as either one of them does.
Entropy is a measure of "how much information". If we have two independent variables $A$ and $B$, then even if we know $A$, we do not know any information about $B$. So the joint entropy of the two variables is the sum of the entropies of the two variables. The amount of information in $A$ and $B$ is the sum of the amounts of information in either, since they are unrelated.
If we have two completely dependent variables $C$ and $D$, and we know $C$, the amount of information we gain by knowing the value of $D$ is nothing, because if we know $C$ already, we can exactly predict the value of $D$. Thus the entropy of $C$ and $D$ is equal to the entropy of $C$ alone. The amount of information in $C$ and $D$ together is exactly the same as the amount of information in just $C$ or just $D$.