they dont have to be the same type.
i had one occelarous, and one true percula. they actualy paired up and spawned.
my friend has a marroon clown, and a black occelarous in a 40 gallon tank. as long as blackie doesn't go near the marroons nem, they get along just fine.