Strict check against object prototype if an object is passed to save()