The South Australian Premier Peter Malinauskas is set to introduce legislation to the state parliament later this year that would ban electoral donations.