Lazio have announced the signing of Croatian defender Josip Elez after he successfully passed a medical.