For a more general solution that works regardless of the number of dimensions, use copy.deepcopy():
copy.deepcopy()
import copyb = copy.deepcopy(a)
b = [x[:] for x in a]