copy all properties onto factory function
4.4.0