List: add the repeat method