You don't need the same RAM, any RAM fit the correct spec can do.
For stock 5,1. It shipped with DDR3 UDIMM ECC RAM. As long as you buy DDR3 UDIMM (desktop RAM of course, not notebook RAM). All your RAM should able to work properly. ECC is not a must, but highly recommended, and ECC RAM is actually cheaper now.