Add doc example for initing from list of times