Remove duplicate array keys.

Values were the same, so this is merely a very slight performance fix.