Remove Double p3d in array