Sri Lankas Niroshan Dickwella, who was banned for three years due to alleged anti-doping violations, has been cleared to play cricket across all formats, according to the ICC.