Object.create polyfill that also handles the second argument (values)