fix fprop cache test error by cloning functions to preserve metadata (#664)
fix fprop cache test error by cloning functions to preserve metadata (#664)

* fix fprop cache test error by cloning functions to preserve metadata

NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph