How to hide the Duplicate taxonomy values in WordPress?

I did not test the code. But this should be work.

<div id="footer">
<h1>Area Names </h1>
<?php

            $taxonomyArray = array("health_area","schools_area","office_area","salonsandsaps_area");

            $temp_array=array();

            for($Inc=0;$Inc<count($taxonomyArray);$Inc++){              


                $orderby      = 'name';
                $show_count   = 0;      // 1 for yes, 0 for no
                $pad_counts   = 0;      // 1 for yes, 0 for no
                $hierarchical = 1;      // 1 for yes, 0 for no
                $title="";
                $empty        = 0;

                if($Inc!=0)
                {
                    $temp_array=array_merge($temp_array,get_categories($args));
                }

                $args = array(
                    'taxonomy'     => $taxonomyArray[$Inc],
                    'orderby'      => $orderby,
                    'show_count'   => $show_count,
                    'pad_counts'   => $pad_counts,
                    'hierarchical' => $hierarchical,
                    'title_li'     => $title,
                    'hide_empty'   => $empty,
                    'exclude'      =>$temp_array
                    );

                wp_list_categories( $args ); 

            }
        ?>
    </ul>

    </div>