Sample Generation by Replacement