Prolongations of integral domains