In the case of analyzers or cash cards, they won’t stack unless they have the same number of charges or give the same number of credits.
That said, I have seen an instance of identical items not stacking (I want to say it was a TeV9, but don’t quote me on that; it’s been a while), but it only happened one time that I can recall and I’m pretty sure that was a one-off glitch.