Oort cloud formation and evolution in star clusters