This is matrix departmentalization. This allows a company to better manage a larger, more complex task by pooling the resources available at the time. By having all hands on board, the company can make sure that the most talented and capable employees are used in the way that best suits the task being undertaken.