[WIP] Resource collection create from iterator

``static`` must be declared after the visibility ;)