ZF2-76: Zend\View\Helper\Partial clears variables in the view if cloned from
Page is setup layout ->render('header.phtml') ->content ->render('footer.phtml')
content ->partial('table.phtml, $data)
When this renders view assigned variables will no longer be available in header.phtml or anywhere else, removing the call to partial will keep everything in tact. Further removing $view->vars()->clear(); from Zend\View\Helper\Partial will keep everything in tact. Obviously it's supposed to remove the variables from the cloned view and only give access to the passed variables, however it appears like it clears also the variables in the view object it originally cloned.