Remove the specified elements from the given array using strict equality for comparison.