Get Duplicate Values From Array Python Memory