I have 3 arrays:

```
array1 = [ 'A', 'B', 'A', 'B']
array2 = [   5,   5,   7,   5]
array3 = [true,true,true,true]

```

I was wondering if there is any easy way (maybe with lodash) to eliminate the duplicates and end with this:

```
array1 = [ 'A', 'B', 'A']
array2 = [   5,   5,   7]
array3 = [true,true,true]

```

I know I can do a function and compare the previous value, but is there a more clever way to do it?

**Update**
Please note that I don't need to eliminate the duplicates of each array.
What I looking is a way to eliminate the duplicates "vertically"

**Update 2**
Please note that each "column" is a record.
`record1 = ['A',5,true]
record2 = ['B',5,true]
record3 = ['A',7,true]
record1 = ['B',5,true]`